{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "scrolled": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Number of test videos=538\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/141...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/142...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/143...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/144...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/145...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/146...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/147...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/148...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/149...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/150...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [0 0 0 0 0 0 0 0 0 0]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/151...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/152...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/153...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/154...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/155...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/156...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/157...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/158...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/159...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/160...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [0 0 0 0 0 0 0 0 0 0]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/161...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/162...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/163...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/164...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/165...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/166...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/167...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/168...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/169...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/170...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [0 0 0 0 0 0 0 0 0 0]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/171...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/172...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/173...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/174...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/175...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/176...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/177...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/178...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/179...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/180...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [0 0 0 0 0 0 0 0 0 0]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/181...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/182...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/183...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/184...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/185...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/186...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/187...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/188...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/189...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/190...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [0 0 0 0 0 0 0 0 0 0]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/191...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/192...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/193...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/194...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/195...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/196...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/197...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_01/198...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/141...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/142...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [0 0 0 0 0 0 0 0 1 1]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/143...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/144...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/145...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/146...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/147...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/148...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/149...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/150...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/151...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/152...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [1 1 1 1 1 1 1 1 1 1]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/153...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/154...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/155...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/156...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/157...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/158...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/159...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/160...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/161...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/162...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [1 1 1 1 1 1 1 1 1 1]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/163...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/164...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/165...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/166...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/167...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/168...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/169...\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/170...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/171...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/172...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [1 1 1 1 1 1 1 1 1 1]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/173...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/174...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/175...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/176...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/177...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/178...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/179...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/180...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/181...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/182...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [1 1 1 1 1 1 1 1 1 1]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/183...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/184...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/185...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/186...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/187...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/188...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/189...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/190...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/191...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/192...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [1 1 1 1 1 1 1 1 1 1]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/193...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/194...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/195...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/196...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/197...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/198...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/199...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_02/200...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/141...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/142...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [1 1 1 1 1 1 1 1 2 2]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/143...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/144...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/145...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/146...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/147...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/148...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/149...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/150...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/151...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/152...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [2 2 2 2 2 2 2 2 2 2]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/153...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/154...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/155...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/156...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/157...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/158...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/159...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/160...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/161...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/162...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [2 2 2 2 2 2 2 2 2 2]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/163...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/164...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/165...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/166...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/167...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/168...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/169...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/170...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/171...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/172...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [2 2 2 2 2 2 2 2 2 2]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/173...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/174...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/175...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/176...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/177...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/178...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/179...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/180...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/181...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/182...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [2 2 2 2 2 2 2 2 2 2]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/183...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/184...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/185...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/186...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/187...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/188...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/189...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/190...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/191...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/192...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [2 2 2 2 2 2 2 2 2 2]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/193...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/194...\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/195...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/196...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/197...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/198...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/199...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_03/200...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/141...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/142...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [2 2 2 2 2 2 2 2 3 3]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/143...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/144...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/145...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/146...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/147...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/148...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/149...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/150...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/151...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/152...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [3 3 3 3 3 3 3 3 3 3]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/153...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/154...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/155...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/156...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/157...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/158...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/159...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/160...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/161...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/162...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [3 3 3 3 3 3 3 3 3 3]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/163...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/164...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/165...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/166...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/167...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/168...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/169...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/170...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/171...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/172...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [3 3 3 3 3 3 3 3 3 3]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/173...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/174...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/175...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/176...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/177...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/178...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/179...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/180...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/181...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/182...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [3 3 3 3 3 3 3 3 3 3]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/183...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/184...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/185...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/186...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/187...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/188...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/189...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/190...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/191...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/192...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [3 3 3 3 3 3 3 3 3 3]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/193...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/194...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/195...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/196...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/197...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/198...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/199...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_04/200...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/141...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/142...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [3 3 3 3 3 3 3 3 4 4]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/143...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/144...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/145...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/146...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/147...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/148...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/149...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/150...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/151...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/152...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [4 4 4 4 4 4 4 4 4 4]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/153...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/154...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/155...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/156...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/157...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/158...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/159...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/160...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/161...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/162...\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [4 4 4 4 4 4 4 4 4 4]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/163...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/164...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/165...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/166...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/167...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/168...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/169...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/170...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/171...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/172...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [4 4 4 4 4 4 4 4 4 4]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/173...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/174...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/175...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/176...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/177...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/178...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/179...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/180...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/181...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/182...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [4 4 4 4 4 4 4 4 4 4]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/183...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/184...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/185...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/186...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/187...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/188...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/189...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/190...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/191...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/192...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [4 4 4 4 4 4 4 4 4 4]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/193...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/194...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/195...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/196...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/197...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/198...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/199...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_05/200...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/141...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/142...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [4 4 4 4 4 4 4 4 5 5]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/143...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/144...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/145...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/146...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/147...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/148...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/149...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/150...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/151...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/152...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [5 5 5 5 5 5 5 5 5 5]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/153...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/154...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/155...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/156...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/157...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/158...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/159...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/160...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/161...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/162...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [5 5 5 5 5 5 5 5 5 5]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/163...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/164...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/165...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/166...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/167...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/168...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/169...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/170...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/171...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/172...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [5 5 5 5 5 5 5 5 5 5]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/173...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/174...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/175...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/176...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/177...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/178...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/179...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/180...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/181...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/182...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [5 5 5 5 5 5 5 5 5 5]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/183...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/184...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/185...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/186...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/187...\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/188...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/189...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/190...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/191...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/192...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [5 5 5 5 5 5 5 5 5 5]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/193...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/194...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/195...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/196...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/197...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/198...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/199...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_06/200...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/141...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/142...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [5 5 5 5 5 5 5 5 6 6]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/143...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/144...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/145...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/146...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/147...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/148...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/149...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/150...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/151...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/152...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [6 6 6 6 6 6 6 6 6 6]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/153...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/154...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/155...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/156...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/157...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/158...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/159...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/160...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/161...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/162...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [6 6 6 6 6 6 6 6 6 6]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/163...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/164...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/165...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/166...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/167...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/168...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/169...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/170...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/171...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/172...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [6 6 6 6 6 6 6 6 6 6]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/173...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/174...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/175...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/176...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/177...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/178...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/179...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/180...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/181...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/182...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [6 6 6 6 6 6 6 6 6 6]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/183...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/184...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/185...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/186...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/187...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/188...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/189...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/190...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/191...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/192...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [6 6 6 6 6 6 6 6 6 6]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/193...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/194...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/195...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/196...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/197...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/198...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/199...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_07/200...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/141...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/142...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [6 6 6 6 6 6 6 6 7 7]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/143...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/144...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/145...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/146...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/147...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/148...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/149...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/150...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/151...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/152...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [7 7 7 7 7 7 7 7 7 7]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/153...\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/154...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/155...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/156...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/157...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/158...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/159...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/160...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/161...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/162...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [7 7 7 7 7 7 7 7 7 7]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/163...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/164...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/165...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/166...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/167...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/168...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/169...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/170...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/171...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/172...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [7 7 7 7 7 7 7 7 7 7]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/173...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/174...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/175...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/176...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/177...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/178...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/179...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/180...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/181...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/182...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [7 7 7 7 7 7 7 7 7 7]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/183...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/184...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/185...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/186...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/187...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/188...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/189...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/190...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/191...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/192...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [7 7 7 7 7 7 7 7 7 7]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/193...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/194...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/195...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/196...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/197...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/198...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/199...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_08/200...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/140...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/141...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [7 7 7 7 7 7 7 7 8 8]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/142...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/143...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/144...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/145...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/146...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/147...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/148...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/149...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/150...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/151...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [8 8 8 8 8 8 8 8 8 8]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/152...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/153...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/154...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/155...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/156...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/157...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/158...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/159...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/160...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/161...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [8 8 8 8 8 8 8 8 8 8]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/162...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/163...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/164...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/165...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/166...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/167...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/168...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/169...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/170...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/171...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [8 8 8 8 8 8 8 8 8 8]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/172...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/173...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/174...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/175...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/176...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/177...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/178...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/179...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/180...\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/181...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [8 8 8 8 8 8 8 8 8 8]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/182...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/183...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/184...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/185...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/186...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/187...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/188...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/189...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/190...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/191...\n",
      "np_arr_data (10, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (20, 16, 112, 112, 3)\n",
      "np.shape(fc6_of_batch) (2, 10, 4096)\n",
      "np.shape(fc6_feature_batch) (10, 8192)\n",
      "np_arr_label [8 8 8 8 8 8 8 8 8 8]\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/192...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/193...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/194...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/195...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/196...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/197...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/198...\n",
      "Loading a video clip from /samba/HDD/dataset_elec_oneplustwo/class_09/199...\n",
      "np_arr_data (8, 2, 16, 112, 112, 3)\n",
      "batch_seq_arr (16, 16, 112, 112, 3)\n"
     ]
    },
    {
     "ename": "ValueError",
     "evalue": "Cannot feed value of shape (8, 16, 112, 112, 3) for Tensor 'Placeholder:0', which has shape '(10, 16, 112, 112, 3)'",
     "output_type": "error",
     "traceback": [
      "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
      "\u001b[0;31mValueError\u001b[0m                                Traceback (most recent call last)",
      "\u001b[0;32m<ipython-input-1-566a383e7408>\u001b[0m in \u001b[0;36m<module>\u001b[0;34m()\u001b[0m\n\u001b[1;32m    116\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    117\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0m__name__\u001b[0m \u001b[0;34m==\u001b[0m \u001b[0;34m'__main__'\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 118\u001b[0;31m     \u001b[0mtf\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mapp\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mrun\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m",
      "\u001b[0;32m/home/wjj/anaconda3/lib/python3.5/site-packages/tensorflow/python/platform/app.py\u001b[0m in \u001b[0;36mrun\u001b[0;34m(main, argv)\u001b[0m\n\u001b[1;32m     42\u001b[0m   \u001b[0;31m# Call the main function, passing through any arguments\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m     43\u001b[0m   \u001b[0;31m# to the final program.\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---> 44\u001b[0;31m   \u001b[0m_sys\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mexit\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmain\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0m_sys\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0margv\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;36m1\u001b[0m\u001b[0;34m]\u001b[0m \u001b[0;34m+\u001b[0m \u001b[0mflags_passthrough\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m     45\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m     46\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n",
      "\u001b[0;32m<ipython-input-1-566a383e7408>\u001b[0m in \u001b[0;36mmain\u001b[0;34m(_)\u001b[0m\n\u001b[1;32m    113\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    114\u001b[0m \u001b[0;32mdef\u001b[0m \u001b[0mmain\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0m_\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 115\u001b[0;31m     \u001b[0mrun_test\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m    116\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    117\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0m__name__\u001b[0m \u001b[0;34m==\u001b[0m \u001b[0;34m'__main__'\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
      "\u001b[0;32m<ipython-input-1-566a383e7408>\u001b[0m in \u001b[0;36mrun_test\u001b[0;34m()\u001b[0m\n\u001b[1;32m     82\u001b[0m         \u001b[0;32mfor\u001b[0m \u001b[0mbatch_unit_index\u001b[0m \u001b[0;32min\u001b[0m \u001b[0mrange\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;36m0\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0munit_of_clip\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m     83\u001b[0m             \u001b[0mtemp_batch_data\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mbatch_seq_arr\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0mbatch_unit_index\u001b[0m\u001b[0;34m*\u001b[0m\u001b[0mfc6_batch_size\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0mbatch_unit_index\u001b[0m\u001b[0;34m*\u001b[0m\u001b[0mfc6_batch_size\u001b[0m \u001b[0;34m+\u001b[0m \u001b[0mfc6_batch_size\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---> 84\u001b[0;31m             \u001b[0mbatch_seq_fc6\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0msess\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mrun\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mfc6\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0mfeed_dict\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;34m{\u001b[0m\u001b[0mimages_placeholder\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0mtemp_batch_data\u001b[0m\u001b[0;34m}\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m     85\u001b[0m             \u001b[0mfc6_of_batch\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mappend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mbatch_seq_fc6\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m     86\u001b[0m             \u001b[0;31m#print(\"np.shape(batch_seq_fc6)\",np.shape(batch_seq_fc6))\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
      "\u001b[0;32m/home/wjj/anaconda3/lib/python3.5/site-packages/tensorflow/python/client/session.py\u001b[0m in \u001b[0;36mrun\u001b[0;34m(self, fetches, feed_dict, options, run_metadata)\u001b[0m\n\u001b[1;32m    765\u001b[0m     \u001b[0;32mtry\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    766\u001b[0m       result = self._run(None, fetches, feed_dict, options_ptr,\n\u001b[0;32m--> 767\u001b[0;31m                          run_metadata_ptr)\n\u001b[0m\u001b[1;32m    768\u001b[0m       \u001b[0;32mif\u001b[0m \u001b[0mrun_metadata\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    769\u001b[0m         \u001b[0mproto_data\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mtf_session\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mTF_GetBuffer\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mrun_metadata_ptr\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
      "\u001b[0;32m/home/wjj/anaconda3/lib/python3.5/site-packages/tensorflow/python/client/session.py\u001b[0m in \u001b[0;36m_run\u001b[0;34m(self, handle, fetches, feed_dict, options, run_metadata)\u001b[0m\n\u001b[1;32m    942\u001b[0m                 \u001b[0;34m'Cannot feed value of shape %r for Tensor %r, '\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    943\u001b[0m                 \u001b[0;34m'which has shape %r'\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 944\u001b[0;31m                 % (np_val.shape, subfeed_t.name, str(subfeed_t.get_shape())))\n\u001b[0m\u001b[1;32m    945\u001b[0m           \u001b[0;32mif\u001b[0m \u001b[0;32mnot\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mgraph\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mis_feedable\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msubfeed_t\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    946\u001b[0m             \u001b[0;32mraise\u001b[0m \u001b[0mValueError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'Tensor %s may not be fed.'\u001b[0m \u001b[0;34m%\u001b[0m \u001b[0msubfeed_t\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
      "\u001b[0;31mValueError\u001b[0m: Cannot feed value of shape (8, 16, 112, 112, 3) for Tensor 'Placeholder:0', which has shape '(10, 16, 112, 112, 3)'"
     ]
    }
   ],
   "source": [
    "# Copyright 2015 Google Inc. All Rights Reserved.\n",
    "#\n",
    "# Licensed under the Apache License, Version 2.0 (the \"License\");\n",
    "# you may not use this file except in compliance with the License.\n",
    "# You may obtain a copy of the License at\n",
    "#\n",
    "#     http://www.apache.org/licenses/LICENSE-2.0\n",
    "#\n",
    "# Unless required by applicable law or agreed to in writing, software\n",
    "# distributed under the License is distributed on an \"AS IS\" BASIS,\n",
    "# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n",
    "# See the License for the specific language governing permissions and\n",
    "# limitations under the License.\n",
    "# ==============================================================================\n",
    "\n",
    "\"\"\"Trains and Evaluates the MNIST network using a feed dictionary.\"\"\"\n",
    "# pylint: disable=missing-docstring\n",
    "from __future__ import absolute_import\n",
    "from __future__ import division\n",
    "from __future__ import print_function\n",
    "\n",
    "import os\n",
    "import time\n",
    "import numpy\n",
    "from six.moves import xrange  # pylint: disable=redefined-builtin\n",
    "import tensorflow as tf\n",
    "import input_data\n",
    "import c3d_model\n",
    "import math\n",
    "import numpy as np\n",
    "from tools import placeholder_inputs\n",
    "from tools import _variable_with_weight_decay\n",
    "from tools import tower_loss\n",
    "from tools import tower_acc\n",
    "from tools import _variable_on_cpu\n",
    "from tools import _variable_with_weight_decay\n",
    "from tools import average_gradients\n",
    "from tools import get_logits\n",
    "import input_data_for_extract_feature as input_data\n",
    "# Basic model parameters as external flags.\n",
    "flags = tf.app.flags\n",
    "gpu_num = 1\n",
    "flags.DEFINE_integer('batch_size', 1 , 'Batch size.')\n",
    "FLAGS = flags.FLAGS\n",
    "model_name = \"../sports1m_finetuning_ucf101.model\"\n",
    "test_list_file = 'list/test.list'\n",
    "unit_of_clip=2\n",
    "\n",
    "    \n",
    "def run_test():\n",
    "    num_test_videos = len(list(open(test_list_file,'r')))\n",
    "    print(\"Number of test videos={}\".format(num_test_videos))\n",
    "\n",
    "    images_placeholder, labels_placeholder = placeholder_inputs(FLAGS.batch_size * gpu_num)\n",
    "    feature_placeholder, _ = placeholder_inputs(FLAGS.batch_size * gpu_num*unit_of_clip)\n",
    "\n",
    "    fc6 = get_logits(images_placeholder, labels_placeholder,FLAGS,gpu_num)     \n",
    "    \n",
    "    saver = tf.train.Saver()\n",
    "    sess = tf.Session(config=tf.ConfigProto(allow_soft_placement=True, log_device_placement=True))\n",
    "    init = tf.global_variables_initializer()######\n",
    "    sess.run(init)\n",
    "    saver.restore(sess, model_name)\n",
    "    \n",
    "    next_batch_start = 0\n",
    "    all_steps = int((num_test_videos - 1) / (FLAGS.batch_size * gpu_num) + 1)\n",
    "    \n",
    "    \n",
    "    writer = tf.python_io.TFRecordWriter('fc6.tfrecord')\n",
    "    fc6_batch_size=FLAGS.batch_size\n",
    "    for step in xrange(all_steps):\n",
    "#         try:\n",
    "        np_arr_data, np_arr_label, next_batch_start, _, _ = input_data.read_clip_and_label(\n",
    "                    test_list_file,FLAGS.batch_size,unit_of_clip,start_pos=next_batch_start)     \n",
    "        fc6_of_batch=[]\n",
    "        print(\"np_arr_data\",np.shape(np_arr_data))\n",
    "        batch_seq_arr = np_arr_data.reshape((fc6_batch_size * unit_of_clip, 16,112,112,3))\n",
    "        print(\"batch_seq_arr\",np.shape(batch_seq_arr))\n",
    "\n",
    "        for batch_unit_index in range(0,unit_of_clip):\n",
    "            temp_batch_data = batch_seq_arr[batch_unit_index*fc6_batch_size:batch_unit_index*fc6_batch_size + fc6_batch_size]\n",
    "            batch_seq_fc6 = sess.run(fc6,feed_dict={images_placeholder:temp_batch_data})\n",
    "            fc6_of_batch.append(batch_seq_fc6)\n",
    "            #print(\"np.shape(batch_seq_fc6)\",np.shape(batch_seq_fc6))\n",
    "        print(\"np.shape(fc6_of_batch)\",np.shape(fc6_of_batch))\n",
    "        fc6_of_batch = np.array(fc6_of_batch)\n",
    "        fc6_feature_batch = fc6_of_batch.reshape((fc6_batch_size,unit_of_clip * 4096))\n",
    "        print(\"np.shape(fc6_feature_batch)\",np.shape(fc6_feature_batch))\n",
    "        print(\"np_arr_label\",np_arr_label)\n",
    "        #print(fc6_feature_batch)\n",
    "\n",
    "        for batch_index in range(fc6_batch_size):            \n",
    "            try:\n",
    "                #image = io.imread(images[i]) # type(image) must be array!\n",
    "                data = fc6_feature_batch[batch_index]\n",
    "                data_raw = data.tostring()\n",
    "                #label = int(labels[i])\n",
    "                label = [np_arr_label[batch_index]]\n",
    "                example = tf.train.Example(features=tf.train.Features(feature={\n",
    "                                'label':tf.train.Feature(int64_list=tf.train.Int64List(value=label)),\n",
    "                                'image_raw': tf.train.Feature(bytes_list=tf.train.BytesList(value=[data_raw]))}))\n",
    "                writer.write(example.SerializeToString())\n",
    "            except IOError as e:\n",
    "                print('Could not read:', images[i])\n",
    "                print('error: %s' %e)\n",
    "                print('Skip it!\\n')       \n",
    "        writer.close()\n",
    "#         except:\n",
    "#             print(\"Error!\")\n",
    "    print(\"Done!\")\n",
    "\n",
    "def main(_):\n",
    "    run_test()\n",
    "\n",
    "if __name__ == '__main__':\n",
    "    tf.app.run()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "No traceback available to show.\n"
     ]
    }
   ],
   "source": [
    "%tb"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.5.3"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
